import React from 'react'
import store from '../../redux/store'

export default function CounterShow() {
  // 从redux中读取count状态数据
  const {count} = store.getState()
  
  return (
    <h2>点击的次数: {count}</h2>
  )
}
